/* --- Root Variables & General Styles (Updated for Premium Aesthetic) --- */
:root {
    --primary-color: #5d4037; /* Deep, rich brown for main elements */
    --secondary-color: #fcfbf6; /* Off-white, soft background */
    --accent-color: #a77b5a; /* Muted gold/bronze for accents and buttons */
    --text-dark: #3a3a3a; /* Dark gray for readability */
    --text-light: #fff; /* White for contrast */
    --font-heading: 'Playfair Display', serif; /* Elegant serif for headlines */
    --font-body: 'Poppins', sans-serif; /* Clean sans-serif for body text */
    --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-shop {
    background: var(--accent-color);
    color: var(--text-light);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 0;
}

.btn-shop:hover {
    background: transparent;
    color: var(--accent-color);
}

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--accent-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

/* --- Header & Navigation --- */
.main-header {
    background: var(--secondary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.main-header ul {
    list-style: none;
    display: flex;
}

.main-header li {
    margin-left: 40px;
}

.main-header a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.main-header a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.main-header a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    background: url('https://via.placeholder.com/1920x1080?text=Elegant+Soap+Background') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--text-light);
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* --- Our Story Section --- */
.section-container {
    padding: 100px 0;
    text-align: center;
}

.about-section {
    background: var(--secondary-color);
}

.story-content {
    display: flex;
    gap: 80px;
    align-items: center;
    text-align: left;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 20px;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow-medium);
}

/* --- Our Promise Section --- */
.promise-section {
    background: var(--primary-color);
    color: var(--text-light);
}

.promise-section h2, .promise-section h3 {
    color: var(--text-light);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.promise-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-10px);
}

.promise-item img {
    width: 80px;
    margin-bottom: 25px;
}

.promise-item h3 {
    margin-bottom: 10px;
}

.promise-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Signature Collection --- */
.signature-collection {
    background: var(--secondary-color);
}

.signature-collection h2 {
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-medium);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-card .card-content {
    padding: 30px;
}

.product-card h3 {
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

/* --- Footer --- */
.main-footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col.brand-info .logo {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-col.links ul {
    list-style: none;
}

.footer-col.links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-col.links a:hover {
    color: var(--accent-color);
}

.newsletter form {
    display: flex;
    margin-top: 15px;
}

.newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter .btn-submit {
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 20px;
    background: var(--accent-color);
    color: var(--text-light);
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .story-content {
        flex-direction: column;
    }
    .story-text, .story-image {
        width: 100%;
        text-align: center;
    }
    .main-header .container {
        flex-direction: column;
    }
    .main-header ul {
        margin-top: 15px;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .newsletter form {
        flex-direction: column;
    }
    .newsletter .btn-submit {
        width: 100%;
        margin-top: 10px;
        border-radius: 5px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}